/* 变量定义 */
:root {
  --primary-color: #39c5bb;
  --primary-light: #87e8de; /* 主色调的浅色版本 */
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
}

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
.header {
  background-color: var(--primary-color);
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.system-icon {
  font-size: 24px;
  margin-right: 10px;
  color: white;
}

.system-title {
  font-size: 24px;
  color: white;
}

/* 登出按钮样式 - 通用样式，适用于a标签和button */
.logout-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-light);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.logout-btn:hover {
  background-color: #73d4c9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
  text-decoration: none;
}

.logout-icon {
  margin-right: 5px;
  font-size: 16px;
}

.logout-text {
  font-weight: 500;
}

/* 功能卡片样式 */
.main-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px auto;
  padding: 0 20px;
}

.function-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.function-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--primary-color);
}

.function-icon {
  font-size: 50px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.function-title {
  font-size: 18px;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 10px;
  }
  
  .logout-btn {
    width: 100%;
    justify-content: center;
  }
  
  .main-content {
    gap: 20px;
  }
  
  .function-card {
    width: 150px;
    height: 150px;
  }
  
  .function-icon {
    font-size: 40px;
  }
  
  .function-title {
    font-size: 16px;
  }
}
